package com.dog.basics.dao.mtkj;

import com.dog.basics.bean.model.mtkj.MtOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author wph
 * @since 2020-11-09
 */
public interface MtOrderMapper extends BaseMapper<MtOrder> {
    /**
     * @Description: 收入
     * @Param:
     * @return:
     * @Author: wph
     * @Date: 2020/10/15 0015
     */
    BigDecimal getsr(@Param("refundStatus")Integer refundStatus,@Param("shopId")Long shopId, @Param("startTime")Long startTime, @Param("endTime")Long endTime);
    /**
     * @Description: 查询金额
     * @Param:
     * @return:
     * @Author: wph
     * @Date: 2020/10/15 0015
     */
    BigDecimal getMoney(@Param("orderStatus")Integer orderStatus,@Param("shopId")Long shopId, @Param("startTime")Long startTime, @Param("endTime")Long endTime);
}
